package com.sbj.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.zmh.framework.sys.dto.request.common.PageResponseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Time;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.List;


/**
 * @author summer
 * @version 1.0
 * @date 2024/8/11 09:14
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderTimeReq extends PageResponseDTO implements Serializable {

    private Integer id;

    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private List<LocalDateTime> dateTimeList;

    @DateTimeFormat(pattern = "HH:mm:ss")
    private LocalTime endTime;

    private Integer state;

    private Integer memberId;

    private Integer countDown;
}
